<?php

namespace app\common\model\caijiatong;

use think\Model;

/**
 * 材价通用户表
 */
class User extends Model
{
    protected $connection = 'database.db_second';//连接配置
    protected $table = 'fa_user';//连接配置
    public function getUserInfo($mobile)
    {
        $where = [
            'mobile' => $mobile,
        ];
        $info = $this->where($where)->find();
        return $info;
    }

}
